package com.niuwa.p2p.vo.customer;

/**
 * 借款用户
 * @author cuiajijia
 *
 */
public class BaseLoanVo {
	
	/**
	 * 客户ID
	 */
	private long custId;
	
	/** 姓名
     * 
     */
    private String custName;
	
	/** 昵称
     * 
     */
    private String nickName;
    
    /** 登录名
     * 
     */
    private String loginName;
    
    /** 性别
     * 
     */
    private String sex;
    /** 年龄
     * 
     */
    private short age;
    
    /** 手机号码
     * 
     */
    private String tel;
    
    /**
     * 学历
     */
    private String education;
    /**
     * 项目渠道个数
     */
    private int channelCount;
    
    /**
     * 黑名单
     */
    private String blackListStatus;
    /**
     * 借款申请笔数
     */
    private int loanApplyCount;
    /**
     * 借款通过笔数
     */
    private int passCount;
    
    /**
     * 放款笔数
     */
    private String loanedCount;
    /**
     * 放款金额
     */
    private String loanedAmount;
    /**
     * 借款余额
     */
    private String loanRest;
    /**
     *首次放款时间
     */
    private String firstLoanTime;
    /**
     *最后一次放款时间
     */
    private String lastLoanTime;
    /**
     *历史逾期次数
     */
    private int overdueCount;
    
    /**
     *当前是否逾期
     */
    private char isNowOverdue;

	public BaseLoanVo() {
		
	}

	public BaseLoanVo(long custId, String custName, String nickName,
			String loginName, String sex, short age, String tel,
			String education, int channelCount, String blackListStatus,
			int loanApplyCount, int passCount, String loanedCount,
			String loanedAmount, String loanRest, String firstLoanTime,
			String lastLoanTime, int overdueCount, char isNowOverdue) {
		this.custId = custId;
		this.custName = custName;
		this.nickName = nickName;
		this.loginName = loginName;
		this.sex = sex;
		this.age = age;
		this.tel = tel;
		this.education = education;
		this.channelCount = channelCount;
		this.blackListStatus = blackListStatus;
		this.loanApplyCount = loanApplyCount;
		this.passCount = passCount;
		this.loanedCount = loanedCount;
		this.loanedAmount = loanedAmount;
		this.loanRest = loanRest;
		this.firstLoanTime = firstLoanTime;
		this.lastLoanTime = lastLoanTime;
		this.overdueCount = overdueCount;
		this.isNowOverdue = isNowOverdue;
	}

	public long getCustId() {
		return custId;
	}

	public void setCustId(long custId) {
		this.custId = custId;
	}

	public String getCustName() {
		return custName;
	}

	public void setCustName(String custName) {
		this.custName = custName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public short getAge() {
		return age;
	}

	public void setAge(short age) {
		this.age = age;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getBlackListStatus() {
		return blackListStatus;
	}

	public void setBlackListStatus(String blackListStatus) {
		this.blackListStatus = blackListStatus;
	}

	public String getLoanedCount() {
		return loanedCount;
	}

	public void setLoanedCount(String loanedCount) {
		this.loanedCount = loanedCount;
	}

	public String getLoanedAmount() {
		return loanedAmount;
	}

	public void setLoanedAmount(String loanedAmount) {
		this.loanedAmount = loanedAmount;
	}

	public String getLoanRest() {
		return loanRest;
	}

	public void setLoanRest(String loanRest) {
		this.loanRest = loanRest;
	}

	public String getFirstLoanTime() {
		if("0000-0-00 12:00:00".equals(firstLoanTime)){
			firstLoanTime = "";
		}
		return firstLoanTime;
	}

	public void setFirstLoanTime(String firstLoanTime) {
		this.firstLoanTime = firstLoanTime;
	}

	public String getLastLoanTime() {
		if("0000-0-00 12:00:00".equals(lastLoanTime)){
			lastLoanTime = "";
		}
		return lastLoanTime;
	}

	public void setLastLoanTime(String lastLoanTime) {
		this.lastLoanTime = lastLoanTime;
	}

	public int getChannelCount() {
		return channelCount;
	}

	public void setChannelCount(int channelCount) {
		this.channelCount = channelCount;
	}

	public int getLoanApplyCount() {
		return loanApplyCount;
	}

	public void setLoanApplyCount(int loanApplyCount) {
		this.loanApplyCount = loanApplyCount;
	}

	public int getPassCount() {
		return passCount;
	}

	public void setPassCount(int passCount) {
		this.passCount = passCount;
	}

	public int getOverdueCount() {
		return overdueCount;
	}

	public void setOverdueCount(int overdueCount) {
		this.overdueCount = overdueCount;
	}

	public char getIsNowOverdue() {
		return isNowOverdue;
	}

	public void setIsNowOverdue(char isNowOverdue) {
		this.isNowOverdue = isNowOverdue;
	}

}
